package com.assignwork.mapper;

import com.assignwork.entity.WorkArrangeWorkers;
import com.assignwork.vo.WorkArrangeWorkersVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @ClassName WorkArrangeWorkersMapper
 * @Description 配工工人Mapper
 * @Author dujianyu
 * @Date 2023/12/13 9:27
 */
public interface WorkArrangeWorkersMapper extends BaseMapper<WorkArrangeWorkers> {
    /**
     * 根据配工ID查找信息
     * @param arrangeId 配工ID
     * @return List<WorkArrangeWorkersVO>
     * @author dujianyu
     * @since 2023/12/13 11:19
     */
    List<WorkArrangeWorkersVO> selectInfoByArrangeId(Long arrangeId);

    List<WorkArrangeWorkersVO> listByArrangeIdAndTeamId(Long arrangeId, Long teamId);
}
